import requests
url = 'https://www.baidu.com'
re = requests.get(url=url)
re.text
print(re.text)